package com.hushao.lims.weblims.service;

import com.hushao.lims.weblims.domain.EquipmentInfo;

import java.math.BigDecimal;

/**
 * @author 930588706
 * @date 18/1/20
 */
public interface EquipmentService {

    /**
     * 添加器材入库
     * @param c
     * @return
     */
    EquipmentInfo save(EquipmentInfo c) throws Exception;

    /**
     * 根据器材名称，规格，价格查询器材表
     * @param equipmentName
     * @param equipmentSpecifications
     * @param equipmentPrice
     * @return
     */
    EquipmentInfo findByEquipmentNameAndEquipmentSpecificationsAndEquipmentPrice(String equipmentName, String equipmentSpecifications, BigDecimal equipmentPrice) throws Exception;

    /**
     * 查询器材信息
     * @param equipmentId
     * @return
     */
    EquipmentInfo findOne(Long equipmentId);
}
